package com.lechi.web.system.mapper.iot;


import com.lechi.web.system.domain.IotGreenhouseBo;

import java.util.List;

/**
 * 大棚Mapper接口
 *
 * @author yangguang
 * @date 2025-07-21
 */
public interface IotGreenhouseMapper {
    /**
     * 查询大棚
     *
     * @param id 大棚主键
     * @return 大棚
     */
    public IotGreenhouseBo selectIotGreenhouseById(Long id);

    /**
     * 查询大棚列表
     *
     * @param iotGreenhouse 大棚
     * @return 大棚集合
     */
    public List<IotGreenhouseBo> selectIotGreenhouseList(IotGreenhouseBo iotGreenhouse);

    /**
     * 新增大棚
     *
     * @param iotGreenhouse 大棚
     * @return 结果
     */
    public int insertIotGreenhouse(IotGreenhouseBo iotGreenhouse);

    /**
     * 修改大棚
     *
     * @param iotGreenhouse 大棚
     * @return 结果
     */
    public int updateIotGreenhouse(IotGreenhouseBo iotGreenhouse);

    /**
     * 删除大棚
     *
     * @param id 大棚主键
     * @return 结果
     */
    public int deleteIotGreenhouseById(Long id);

    /**
     * 批量删除大棚
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteIotGreenhouseByIds(Long[] ids);
}
